import { legacy_createStore as createStore, combineReducers } from "redux";

import userReducer from "./user";

const reducer = combineReducers({
  user: userReducer,
});

const store = createStore(reducer);

export type RootState = ReturnType<typeof store.getState>

export default store;
